﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW;

	/// <summary>
    /// 用户模块配置表展示时候的dto
    /// </summary>
	[AutoMap(typeof(FWUserFunctionSetEntity))] 
    public class FWUserFunctionSetResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 用户的GUID
        /// </summary>
		[Display(Name = "用户的GUID", Description = "用户的GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 模块的GUID
        /// </summary>
		[Display(Name = "模块的GUID", Description = "模块的GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 是否为站内模块
        /// </summary>
		[Display(Name = "是否为站内模块", Description = "是否为站内模块")]
        [Column("IsSiteInner")]
        public byte IsSiteInner { get; set; }
        
		/// <summary>
        /// 模块地址
        /// </summary>
		[Display(Name = "模块地址", Description = "模块地址")]
        [Column("UserFunctionSetUrl")]
		[StringLength(256)]
        public string UserFunctionSetUrl { get; set; }
        
		/// <summary>
        /// 模块的名称
        /// </summary>
		[Display(Name = "模块的名称", Description = "模块的名称")]
        [Column("UserFunctionSetName")]
		[StringLength(256)]
        public string UserFunctionSetName { get; set; }
        
		/// <summary>
        /// 是否在浏览器打开
        /// </summary>
		[Display(Name = "是否在浏览器打开", Description = "是否在浏览器打开")]
        [Column("IsBroswerOpen")]
        public byte IsBroswerOpen { get; set; }
        
		/// <summary>
        /// 系否为系统级别的
        /// </summary>
		[Display(Name = "系否为系统级别的", Description = "系否为系统级别的")]
        [Column("UserFunctionSetIsSystem")]
        public byte UserFunctionSetIsSystem { get; set; }
        
		/// <summary>
        /// 排序号(int类型)
        /// </summary>
		[Display(Name = "排序号(int类型)", Description = "排序号(int类型)")]
        [Column("UserFunctionSetSort")]
        public int UserFunctionSetSort { get; set; }
        
    }
}
